/* 
 * File:   ShowFindUpdateCPO.h
 * Author: Topher
 *
 */

#ifndef SHOWFINDUPDATECPO_H
#define	SHOWFINDUPDATECPO_H

#include <string>
#include <algorithm>
#include <vector>
#include <sstream>
#include "Cart.h"
#include "Cart_item.h"
#include "Customer.h"
#include "Category.h"
#include "Product.h"

class ShowFindUpdateCPO 
{
public:
    static string show(vector<Customer>);
    static double find(int, vector<Cart>, vector<Cart_item>, vector<Product>);
    static void update(Customer, vector<Customer> &customers);
private:
    static bool compareCustomer(Customer, Customer);
    static double get_price_by_id(vector<Product>, int); 
};

#endif	/* SHOWFINDUPDATECPO_H */

